-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved HL commander - spiral & linear segment #470
Improved HL commander - spiral & linear segment #470
Conversation
3fac519
to
61180d8
Compare
It seems that this PR will make the lib incompatible with previous version of the firmware. Since the lib is currently not checking for the protocol version and locking connection, it needs to stay compatible with the old message. Either by checking the version and sending the appropriate message (maybe with a warning to update the Crazyflie), or by adding the new message in a new function. |
Thanks for the review. |
So I made a new function. |
I've just approved the CI run as that hasn't been done yet, so please check if there are any errors there. Also for the review we'll need to try this out ourselves just to make sure that everything still works, so we will try to do that before the next release. Yes absolutely, that would be a nice feature. I'm not sure if we have a issue/ticket for the version checking yet. 🤔 |
The CI has failed on some autopep8 checks. @gemenerik will take a look at your PRs for test flight so if he can he'll fix it or you can fix it as well. You can also run the test locally on your computer with the toolbelt: https://www.bitcraze.io/documentation/repository/toolbelt/master/ and |
Thanks, the failed checks should now be fixed. I have tested this on the crazyflie with both the latest release as well as with the new firmware bitcraze/crazyflie-firmware#1410. All works as expected. But indeed this should be tested by someone else before it gets pulled into master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All should be fixed as requested. Succesfully flight tested
This PR extends the functionality of the HL commander by adding 1) a linear option to the GOTO command and 2) a spiral command.
More details in the corresponding firmware PR: bitcraze/crazyflie-firmware#1410